from django.conf.urls.defaults import *
#from vtdict import maindict
#from vtdict import maindict
#from vtdict import mytest
#from vtdict import contact    # importing module

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    # Example:
    # (r'^vtdict/', include('vtdict.foo.urls')),

    # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
    # to INSTALLED_APPS to enable admin documentation:
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    # (r'^$', maindict.views.search_form),
    # (r'^search/$', maindict.views.search),    for testing purpose
    (r'^$', 'vtdict.maindict.views.search'),
    (r'^contact/thanks/', 'vtdict.contact.views.thanks'),
    (r'^contact/', 'vtdict.contact.views.contact'),

    (r'^admin/(.*)', admin.site.root),
    (r'^display/(.*)', 'vtdict.mytest.views.handle_display'),
)
